/**
 *PHP V8 Library
 *Copyright(C) Ins<Instance@9.cn> www.narrow-world.com
 */
#include "phpv8_context.h"

PHPV8Context::PHPV8Context(){

  v8::HandleScope handle_scope;

  m_context = v8::Context::New();

}

PHPV8Context::~PHPV8Context(){

  m_context.Dispose();

}

v8::Persistent<v8::Context> PHPV8Context::getContext(){

  return m_context;

}
